fd463979fd5b69c4a044f96f99ea03627c2f419b,portal-impl/src/com/liferay/portlet/blogs/service/impl/BlogsEntryLocalServiceImpl.java,BlogsEntryLocalServiceImpl,updateAsset,#number#BlogsEntry#number[]#String[]#,506
Before Change
String summary = HtmlUtil.extractText(
StringUtil.shorten(entry.getContent(), 500));
assetEntryLocalService.updateEntry(
userId, entry.getGroupId(), BlogsEntry.class.getName(),
entry.getEntryId(), entry.getUuid(), assetCategoryIds,
assetTagNames, visible, null, null, entry.getDisplayDate(), null,
ContentTypes.TEXT_HTML, entry.getTitle(), null, summary, null, null,
0, 0, null, false);
}
public BlogsEntry updateEntry(
After Change
String summary = HtmlUtil.extractText(
StringUtil.shorten(entry.getContent(), 500));
AssetEntry assetEntry = assetEntryLocalService.updateEntry(
userId, entry.getGroupId(), BlogsEntry.class.getName(),
entry.getEntryId(), entry.getUuid(), assetCategoryIds,
assetTagNames, visible, null, null, entry.getDisplayDate(), null,
ContentTypes.TEXT_HTML, entry.getTitle(), null, summary, null, null,
0, 0, null, false);
assetLinkLocalService.updateLinks(
userId, assetEntry.getEntryId(), assetLinkEntryIds,
AssetLinkConstants.TYPE_RELATED);
}
public BlogsEntry updateEntry(